﻿
using PoemGame.Management.Console;
using PoemGame.Query;

var service=Utility.GetService();

var playerQuery = service.GetService(typeof(IPlayerQuery)) as IPlayerQuery;

var lst = await playerQuery.GetPlayersByConditionAsync("");

foreach (var player in lst)
{
    Console.WriteLine(player.UserName);
}

